package com.secxiot.provider.system.dto;

import java.io.Serializable;
import java.util.Date;

/**
 * 今日推荐
 */
public class AppRecommendDto implements Serializable {
    /**
     * id
     */
    private Long id;

    /**
     * 医院id
     */
    private Long hospitalId;

    /**
     * 资讯标题
     */
    private String title;

    /**
     * 推荐内容类型，字典00013
     */
    private String contentType;

    /**
     * 推荐内容
     */
    private String content;

    /**
     * 图片路径
     */
    private String imgUrl;

    /**
     * 文件日志id
     */
    private Long fileLogId;

    /**
     * 有效标识，0：否 1：是
     */
    private Integer valid;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建用户
     */
    private Long createUser;

    /**
     * 创建时间
     */
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType == null ? null : contentType.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl == null ? null : imgUrl.trim();
    }

    public Long getFileLogId() {
        return fileLogId;
    }

    public void setFileLogId(Long fileLogId) {
        this.fileLogId = fileLogId;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", hospitalId=").append(hospitalId);
        sb.append(", title=").append(title);
        sb.append(", contentType=").append(contentType);
        sb.append(", content=").append(content);
        sb.append(", imgUrl=").append(imgUrl);
        sb.append(", fileLogId=").append(fileLogId);
        sb.append(", valid=").append(valid);
        sb.append(", remark=").append(remark);
        sb.append(", createUser=").append(createUser);
        sb.append(", createTime=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}